Micron Document
🌎 rns.kin.earth git 🌍

Node / dev / reticulum / commits / 6cd5be1

Commit 6cd5be18ec69a3f5e4dcd7e9ff12fa78eb21f5ef


Parents : 0e2041c
Author : JRG <fccab3ba809f89d870d5b8b2e2cdbad1>
Date : 2026-08-18T13:17:36+03:00
Committer : Mark Qvist <bc7291552be7a58f361522990465165c>
Date : 2026-08-19T13:33:40+02:00

Transport: slice discovery_pr_tags to the end

Keep the last element.

Changes

1 files changed, 1 insertions(+), 1 deletions(-)


Diff

diff --git a/RNS/Transport.py b/RNS/Transport.py
index 26698cda..a96b6619 100755
--- a/RNS/Transport.py
+++ b/RNS/Transport.py
@@ -758,7 +758,7 @@ class Transport:
# Cull the path request tags list if it has reached its max size
if len(Transport.discovery_pr_tags) > Transport.max_pr_tags:
with Transport.discovery_pr_tags_lock:
- Transport.discovery_pr_tags = Transport.discovery_pr_tags[len(Transport.discovery_pr_tags)-Transport.max_pr_tags:len(Transport.discovery_pr_tags)-1]
+ Transport.discovery_pr_tags = Transport.discovery_pr_tags[len(Transport.discovery_pr_tags)-Transport.max_pr_tags:]
if time.time() > Transport.tables_last_culled + Transport.tables_cull_interval:
# Remove unneeded path state entries

Served by rngit 1.5.2 - Generated in 0.06s